home *** CD-ROM | disk | FTP | other *** search
- global gfound
-
- on prepareMovie
- global oldres
- cursor(200)
- dmpack1reg("41725")
- x = the number of xtras
- gfound = 0
- repeat with i = 1 to x
- if xtra(i).name = "SetMouseXtra" then
- gfound = 1
- exit repeat
- end if
- end repeat
- if not gfound then
- if the machineType = 256 then
- openXLib(the pathname & "SMXtra")
- else
- openXLib(the pathname & "SMXtra.Fat")
- end if
- end if
- put interface(xtra("SetMouseXtra")) into field "interface"
- x = the stageLeft
- y = the stageTop
- setmouse(x, y)
- oldres = changeres([640, 480])
- end
-
- on startMovie
- preload()
- end
-
- on stopMovie
- global oldres
- changeres(oldres)
- if not gfound then
- if the machineType = 256 then
- closeXLib(the pathname & "SMXtra")
- else
- closeXLib(the pathname & "SMXtra.Fat")
- end if
- end if
- end
-